﻿//=====================================================================================================
// LocalizationLibrary
// The Localization Library is a collection of reusable software components that provide 
// support for localization. This library enables you to localize WPF, Silverlight and WP7 applications.
// (http://localizationlibrary.codeplex.com)
//=====================================================================================================
// Author: Nicola Gallo (Website: www.nicola.gallo.name, Email: nicolagmt@hotmail.it) 
//=====================================================================================================

namespace HelloWorld.Startup.LocalizationModels
{
    //.NET References
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Windows;

    //HelloWorld References
    using HelloWorld.Startup.Constants;

    //LocalizationLibrary References
    using LocalizationLibrary;
    using LocalizationLibrary.Attributes;

    /// <summary>
    /// Defines the account's <see cref="LocalizationModel"/>.
    /// </summary>
    public class AccountStaticLM : LocalizationModel
    {
        //Properties

        /// <summary>
        /// Gets/Sets the firstname. It is a localized property.
        /// </summary>
        [Localize(LocalizationKey.Firstname, typeof(Resources.AccountResource))]
        public String Firstname { get; set; }

        /// <summary>
        /// Gets/Sets the secondname. It is a localized property.
        /// </summary>
        [Localize(LocalizationKey.Lastname, typeof(Resources.AccountResource))]
        public String Lastname { get; set; }

        /// <summary>
        /// Gets/Sets the address. It is a localized property.
        /// </summary>
        [Localize(LocalizationKey.Address, typeof(Resources.AccountResource))]
        public String Address { get; set; }

        /// <summary>
        /// Gets/Sets the town. It is a localized property.
        /// </summary>
        [Localize(LocalizationKey.Town, typeof(Resources.AccountResource))]
        public String Town { get; set; }

        /// <summary>
        /// Gets/Sets the postcode. It is a localized property.
        /// </summary>
        [Localize(LocalizationKey.Postcode, typeof(Resources.AccountResource))]
        public String Postcode { get; set; }

        /// <summary>
        /// Gets/Sets the birthday. It is a localized property.
        /// </summary>
        [Localize(LocalizationKey.Birthday, typeof(Resources.AccountResource))]
        public String Birthday { get; set; }
    }
}
